#ifndef __dictcell_h__
#define __dictcell_h__

#include <iostream.h>
#include <string.h>

class dictionary_cell {
public :
   dictionary_cell() {
      nwords = 0 ;
   }
   dictionary_cell( char * n ) {
      ( void )strcpy( name , n ) ;
      nwords = 0 ;
   }
   dictionary_cell( char * n , queue< pgmcell>  & p ) {
      ( void )strcpy( name , n ) ;
      pgm = p ;
      nwords = 0 ;
   }
   void vlist() {
      cerr << name << endl ;
   }
   queue< pgmcell> pgm ;
   bool match( char * n ) {
      return ( strcmp( n , name ) == 0 ) ;
   }
private :
   enum { MAX_NAME = 50 } ;
   char name[ MAX_NAME ] ;
   int nwords ;
} ;

// modifica puntuale 2
// gipi
// gipi-b
// gipi-simone
#endif
